package core;

/**
 * 用例生成器
 * 
 * @author Bob
 *
 */
public class TestGen {
	/**
	 * 私有化构造方法,防止实例化类
	 */
	private TestGen() {
	}

	public static void main(String[] args) {
		int item = args.length;
		if (item < 2) {
			System.out
					.println("Usage: \'TestGen\' inputPath outputPath \r\n2 arguments are needed.\r\ninputPath: represents the description of api \r\noutputPath: the specified output path of the test cases.");
		}else{
			CaseModule cm = new CaseModule(args[0],args[1]);
			if(cm.isFlag()){
				System.out.println("TestCases are created susccessfully.");
			}
		}
		
	}
}
